<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="java.io.InputStream"%>
<%@page import="java.util.Properties"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html> 
<head> 
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
<title>模板</title> 
<link type="text/css" href="/manager/css/gcs.css" rel="stylesheet" media="screen">
<link type="text/css" href="/manager/css/styles.css" rel="stylesheet" media="screen">
</head> 
<body> 
<div id="container">
<div id="header">
<%@include file="/manager/header.jsp" %>
</div>
<!-- end header -->
<div id="sidebar">
<%@include file="/manager/sidebar.jsp" %>
</div>
<!-- end sidebar -->
<div id="mainContent">主内容<br>
<%=request.getRequestURI() %><br>
<%=request.getContextPath() %><br>
<%=request.getPathInfo() %><br>
<%=request.getLocalAddr() %><br>
<%=request.getRemoteAddr() %><br>
<%=request.getRequestURL() %><br>
<%=request.getServletPath() %><br>
<%=request.getScheme() %><br>
<%=request.getServerName() %><br>
<%
InputStream input = this.getClass().getResourceAsStream("/urimapping.properties");
Properties ps = new Properties();
ps.load(input);
input.close();
System.out.print(ps.getProperty("test")); 
%>
</div><!-- end mainContent -->
<br class="clearfloat">
<div id="footer">
<%@include file="/manager/footer.jsp" %>
</div><!-- end footer -->
</div> 
</body> 
</html>